package com.robot.base.model

import cn.wandersnail.ble.Device
import java.io.Serializable

class LoginBean {
    var token: String? = ""
    var trueName: String? = null
    var needBindMobile: Boolean? = false
    var authUrl: String? = ""
    var pwdExpireTime: String? = ""
    var pwdExpiresIn: String? = ""
    var userId: String? = ""
}

class UserInfoBean {
    var avatar: String? = ""//头像地址
    var avatarId: String? = ""//头像图片ID": "string",
    var departId: String? = ""//组织/部门ID": "string",
    var trueName: String? = ""//	string真实姓名
    var userId: String? = ""//用户ID": "string",
    var userName: String? = ""//账号": "string"
    var email: String? = ""//	string电子邮箱
    var mobilePhone: String? = ""//	string联系号码
    var roleNames: String? = ""//string角色
    var departName: String? = ""//*	string所属组织/部门
}

class UploadFileBean {
    var fileId: String? = ""//	string文件ID

    var fileName: String? = ""//	string文件名

    var filePath: String? = ""//	string文件相对路径

    var fileUrl: String? = ""//	string文件完整URL
}

data class ImageTextBean(
    var imgResId: Int = 0,
    var text: String = ""
)

class QuestionNumBean {
    var totalNum: String? = ""
}

class BasePageBean<T> {
    var hasNextPage: Boolean? = false
    var list: List<T>? = null
    var total: Int = 0
}

class QuestionDataDTOBean {
    var buttonRights: String? = ""//	string按钮权限，多个以英文逗号分隔：tracking-进度追踪，delete-删除

    var contactName: String? = ""//	string联系人

    var contactPhone: String? = ""//	string联系电话

    var equipmentId: String? = ""//string设备ID

    var equipmentName: String? = ""//	string设备名称

    var equipmentNo: String? = ""//string 设备序列号

    var gmtCreateStr: String? = ""//	string上报时间

    var handleRemark: String? = ""//	string处理结果

    var handlerName: String? = ""//	string处理人员

    var questionDesc: String? = ""//	string问题描述

    var questionId: String? = ""//	string问题/工单ID

    var questionTypeName: String? = ""//	string问题类型名称

    var state: String? = ""//	integer($int32)处理状态。可选值：0-未处理，1-已派单，2-已驳回，3-进行中，4-已退回，5-已完成

    var stateText: String? = ""//	string处理状态文本。可选值：0-未处理，1-已派单，2-已驳回，3-进行中，4-已退回，5-已完成
}

class QuestionDetailDTOBean {
    var accessoryList: List<QuestionAccessoryDTOBean>? = null//[...]//配件记录集合
    var contactName: String? = ""//	string联系人

    var contactPhone: String? = ""//	string联系电话

    var dispatchRemark: String? = ""//	string备注（派单的）

    var dispatcherName: String? = ""//	string派单人员姓名

    var equipmentId: String? = ""//	string设备ID

    var equipmentName: String? = ""//	string设备名称

    var equipmentNo: String? = ""//	string设备序列号

    var fileList: List<UploadFileBean>? = null//文件列表   [...]
    var gmtCreateStr: String? = ""//	string上报时间

    var handlerName: String? = ""//	string处理人员/维修人员姓名

    var handlerUserId: String? = ""//	string处理人员/维修人员用户ID

    var maintainList: List<QuestionMaintainDTOBean>? = null  // [...]维修记录集合
    var questionDesc: String? = ""//	string问题描述

    var questionId: String? = ""//	string问题/工单ID

    var questionType: String? = ""//	integer($int32)问题类型

    var questionTypeName: String? = ""//	string问题类型名称

    var state: String? = ""//	integer($int32)处理状态。可选值：0-未处理，1-已派单，2-已驳回，3-进行中，4-已退回，5-已完成

    var stateText: String? = ""//	string处理状态文本。可选值：0-未处理，1-已派单，2-已驳回，3-进行中，4-已退回，5-已完成

    var tenantName: String? = ""//	string租户名称
}

class QuestionAccessoryDTOBean {
    var accessoryName: String? = ""//    string配件名称

    var accessoryNo: String? = ""//   string设备序列号

    var factoryName: String? = ""//   string生产厂家

    var fileList: List<UploadFileBean>? = null//图片文件信息集合[...]

    var gmtFinishStr: String? = ""//   string完成时间

    var gmtProductionStr: String? = ""//    string生产日期

    var gmtStartStr: String? = ""//  string开始时间

    var gmtWarrantyStr: String? = ""//    string保修期

    var questionAccessoryId: String? = ""//   string配件记录

    var remark: String? = ""// string备注
}

class QuestionMaintainDTOBean {
    var fee: String? = ""//number维修费用

    var fileList: List<UploadFileBean>? = null//图片文件信息集合

    var gmtFinishStr: String? = ""//	string完成时间

    var gmtStartStr: String? = ""//	string开始时间

    var partName: String? = ""//	string部位名称

    var questionMaintainId: String? = ""//	string维修记录

    var remark: String? = ""//	string备注
}

class BaseListBean<T> {
    var list: List<T>? = null
}

class QuestionLogDTOBean {
    var createTime: String? = ""//	string操作时间

    var information: String? = ""//string日志内容

    var loggerId: String? = ""//	string日志记录

    var operateType: String? =
        ""//	string操作类型编码。可选值：Report-上报，Reject-驳回，Dispatch-派单，Return-退回，OrderTaking-接单，Finish-完成

    var operateTypeText: String? =
        ""//	string操作类型文本。可选值：Report-上报，Reject-驳回，Dispatch-派单，Return-退回，OrderTaking-接单，Finish-完成
}

class CertDataDTOBean {
    var buttonRights: String? = ""//	string按钮权限，多个以英文逗号分隔：detail-详情，edit-编辑，delete-删除

    var certId: String? = ""//	string证书ID

    var certName: String? = ""//	string证书名称

    var certTypeName: String? = ""//	string证书类型名称

    var certVersion: String? = ""//string证书版本

    var gmtCreateStr: String? = ""//	string创建时间

    var keyStoreUrl: String? = ""//string密钥库文件URL

    var remark: String? = ""//string证书描述

    var trustStoreUrl: String? = ""//	string信任库文件URL
}

class CertDetailDTOBean {
    var certId: String? = ""//	string证书ID

    var certName: String? = ""//string证书名称

    var certTypeCode: String? = ""//	integer($int32)证书类型编码

    var certTypeName: String? = ""//	string证书类型名称

    var certVersion: String? = ""//	string证书版本

    var gmtCreateStr: String? = ""//	string创建时间

    var keyStoreId: String? = ""//string密钥库文件ID

    var keyStoreName: String? = ""//	string密钥库文件名

    var keyStoreUrl: String? = ""//	string密钥库文件URL

    var remark: String? = ""//string证书描述

    var trustStoreId: String? = ""//string信任库文件ID

    var trustStoreName: String? = ""//string信任库文件名

    var trustStoreUrl: String? = ""//string信任库文件URL
}


class PersonDataDTOBean {
    var address: String? = ""//	string地址

    var age: String? = ""//	integer($int32)年龄

    var buttonRights: String? = ""//	string按钮权限，多个以英文逗号分隔：detail-详情，edit-修改，delete-删除

    var certTypeStr: String? = ""//	string证件类型名称)

    var contactPhone: String? = ""//	string联系电话。

    var educationStr: String? = ""//	string学历名称

    var email: String? = ""//	string电子邮箱

    var gmtCertExpireStr: String? = ""//	string证书有效截止期 文本。

    var idCard: String? = ""//string身份证号。

    var major: String? = ""//	string专业

    var personId: String? = ""//string人员ID。

    var personName: String? = ""//string姓名。

    var photoUrl: String? = ""//string照片URL

    var sex: String? = ""//integer($int32)性别：0-女，1-男。
}

class PersonDetailDTOBean {
    var address: String? = ""//string地址

    var age: String? = ""//integer($int32)年龄

    var certImageId: String? = ""//	string证书图片ID。上传业务类型编码传cert_img。

    var certImageName: String? = ""//	string证书图片文件名
    var certImageUrl: String? = ""//	string证书图片URL

    var certTypeCode: String? =
        ""//	string证件类型编码。。来自接口/commons/api/selectDicinfoListByCode(parent_code 传ProfessionalCertTypes)

    var certTypeStr: String? = ""//	string证件类型名称)

    var contactPhone: String? = ""//	string联系电话。

    var educationCode: String? =
        ""//	string学历编码。来自接口/commons/api/selectDicinfoListByCode(parent_code 传Educations)

    var educationStr: String? = ""//	string学历名称

    var email: String? = ""//	string电子邮箱

    var gmtCertExpireStr: String? = ""//	string证书有效截止期 文本。

    var idCard: String? = ""//	string身份证号。

    var major: String? = ""//string专业

    var personId: String? = ""//	string人员ID。

    var personName: String? = ""//string姓名。

    var photoId: String? = ""//	string照片ID。上传业务类型编码传photo。

    var photoName: String? = ""//string照片文件名

    var photoUrl: String? = ""//string照片URL

    var sex: String? = ""//integer($int32)性别：0-女，1-男。
}

class DicinfoDataDTOBean {
    var children: List<DicinfoDataDTOBean>? = null//	[子集{}]
    var diccode: String? = ""//string编码

    var dicname: String? = ""//  string名称

    var dicvalue: String? = ""//   string值

    var hasChildren: Boolean = false//    booleantrue-有子集 false-无子集

    var level: String? = ""// integer($int32)级别 1-一级类目 2-二级类目

    var parentCode: String? = ""//   string父级编码

    var remark: String? = ""//   string备注

    var reserve: String? = ""//   string备用

    var sortNo: Int = 0//   integer($int32)排序
}